import { debounce } from 'common/utils'

export const listenerItemMixin={
	data(){
		return{
			itemImgListenerLoad:null
		}
	},
	mounted() {
    const refresh = debounce(this.$refs.bScroll.refresh, 1000);
    this.itemImgListenerLoad = () => {
      refresh();
    };
    this.$bus.$on("itemImgLoad", this.itemImgListenerLoad);
  },
}

